
let userDao = require("../dao/userDao");
module.exports={
   /**
    * 登录
    * @param {*} param0 用户名和密码
    */ 
   async login(username,pwd){ 
      return await userDao.getUserByUsernameAndPwd({"username":username,"pwd":pwd});
   }
}